<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<a href="index.html">作业一</a>
<a href="index00.html">作业二</a>
<a href="index01.html">作业三</a>
<a href="index02.html">作业四</a>
<a href="index03.html">作业五</a>
<script>
    var arr= [2,34,2,5,6,9,8,4,34,67,6];
    function find(arr){
        var newArr = [];
        for (var i = 0; i < arr.length; i++) {
            if (newArr.indexOf(arr[i]) == -1 ) {
                newArr.push(arr[i]);
            }
        }
        return newArr;
    }
    document.write(find(arr));
</script>
</body>
</html>